package com.eric.flowabledemo.exception;

import com.eric.flowabledemo.constant.ResponseCodeEnum;

public class ProcessExceptionCast {
    /**
     * 使用此静态方法抛出自定义异常
     */
    public static void cast(ResponseCodeEnum responseCode){
        throw new ProcessException(responseCode);
    }
}
